/* 
 * File:   project.cpp
 * Author: jolo
 * 
 * Created on: 11. Oktober 2011, 00:34
 * Lincense: New BSD License (The BSD 2-Clause License)
 */

#include "project.hpp"
#include "standard_in_repository_entity.hpp"
#include "widgets/main_window.hpp"

namespace model
{

    project::project(const string& n,
                     const string& d,
                     repository* r)
    : standard_in_repository_entity(n, d, r)
    {
    }

    project::~project()
    {
    }
    
    const string project::to_string() const {
        stringstream s;
        s << object_name() << ": " << standard_in_repository_entity::to_string();
        return s.str();
    }
    
    const string project::object_name() const {
        return "Project";
    }
}
